package zhongbo.java.air.dictionary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.common.vo.ResultVo;
import zhongbo.java.air.dictionary.model.AirPort;

public interface IAirPortService extends IService<AirPort> {

    PageVo<AirPort> pageQuery(Integer page, Integer pageSize
            , String keyword, String fields
            , String oderByField, Boolean orderByAsc);

    /**
     * 添加机场信息
     * @param airPort
     * @return
     */
    ResultVo saveAirPort(AirPort airPort);

    /**
     * 修改机场信息
     * @param airPort
     * @return
     */
    ResultVo updateAirPort(AirPort airPort);
}
